home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’92 / Run & Stumpy / source / rawdrive.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-19  |  372 b   |  22 lines  |  [TEXT/MPS ]

  1. #ifndef rawdrive_h
  2. #define rawdrive_h
  3.  
  4. #ifndef errorsource_h
  5. #include "errorsource.h"
  6. #endif
  7.  
  8. class rawdrive: public errorsource
  9.   {
  10.     private:
  11.         short    drive;
  12.         short driver;
  13.     
  14.     public:
  15.         rawdrive( const FSSpec& volume );
  16.         
  17.         OSErr read(  long position, void *buffer, uint32& amount );
  18.         OSErr write( long position, void *buffer, uint32& amount );
  19.   };
  20.  
  21. #endif rawdrive_h
  22.